package events 
{
	import ui.GCUpgradeSprite;
	/**
	 * ...
	 * @author Roy
	 */
	public class GCUpgradeEvent extends GCEvent 
	{
		public static const DISCARD_UPGRADE_EVENT:String = "DiscardUpgrade";
		public static const ADD_UPGRADE_EVENT:String = "AddUpgrade";
		public static const NO_UPGRADE_EVENT:String = "NoEvent";
		
		public var _upgradeComponent:GCUpgradeSprite;
		private var _upgradeSlotId:uint;
		private var _upgradeItemId:uint;
		private var _upgradeAction:String;
		
		public function GCUpgradeEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false) 
		{
			super(type, bubbles, cancelable);
		}
		
		public function get upgradeSlotId():uint
		{
			return _upgradeSlotId;
		}
		
		public function get upgradeItemId():uint
		{
			return _upgradeItemId;
		}
		
		public function get upgradeAction():String
		{
			return _upgradeAction;
		}
		
		public function set upgradeSlotId(id:uint):void
		{
			_upgradeSlotId = id;
		}
		
		public function set upgradeItemId(id:uint):void
		{
			_upgradeItemId = id;
		}
		
		public function set upgradeAction(action:String):void
		{
			_upgradeAction = action;
		}
	}

}